import request from '@/utils/request'

// 查询测点状态列表
export function listMeasurePointStatus(query) {
    return request({
        url: '/dictData/measurePointStatus/list',
        method: 'get',
        params: query
    })
}

// 查询测点状态详细
export function getMeasurePointStatus(id) {
    return request({
        url: '/dictData/measurePointStatus/' + id,
        method: 'get'
    })
}

// 新增测点状态
export function addMeasurePointStatus(data) {
    return request({
        url: '/dictData/measurePointStatus',
        method: 'post',
        data: data
    })
}

// 修改测点状态
export function updateMeasurePointStatus(data) {
    return request({
        url: '/dictData/measurePointStatus',
        method: 'put',
        data: data
    })
}

// 删除测点状态
export function delMeasurePointStatus(id) {
    return request({
        url: '/dictData/measurePointStatus/' + id,
        method: 'delete'
    })
}
